import Model from '../index'

class CategoriesList extends Model {

  // 获取标签
  getTagsList (options) {
    options.url = '/api/fontend/categoriesList/getTagsList'
    return this.post(options)
  }

  // 获取标签
  getTagsDetail (options) {
    options.url = '/api/fontend/categoriesList/getTagsDetail'
    return this.post(options)
  }

  // 获取分类列表
  getCategoriesList (options) {
    options.url = '/api/fontend/categoriesList/getCategoriesList'
    return this.post(options)
  }

}

const categoriesListModel = new CategoriesList()
export default categoriesListModel
